package Records;

public record PointRecord(int x,int y) {

    public static void main(String[] args) {
        Point point = new Point(2,3);
        PointRecord record = new PointRecord(2, 3);
        System.out.println(point);
        System.out.println(record);
    }
}
